import { createApp } from "vue"
import App from "./App.vue"
import router from "./router"
import { pinia } from "./store"

import api from "@/network/api"

// 使用VueRouter + Pinia
const app = createApp(App)

app.config.globalProperties.$api = api

app.use(router).use(pinia).mount("#app")
